package com.ekuaitu.kuaitu.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by user1 on 2017/5/16.
 */

public class MyMessageBean {


    /**
     * status : 200
     * message : 成功
     * debug : {}
     * attachment : {"messageList":[{"id":"1","title":"测试标题","content":"测试内容","messageType":"消息类型","createTime":"时间"}]}
     */

    @SerializedName("status")
    private String status;
    @SerializedName("message")
    private String message;
    @SerializedName("debug")
    private DebugBean debug;
    @SerializedName("attachment")
    private AttachmentBean attachment;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DebugBean getDebug() {
        return debug;
    }

    public void setDebug(DebugBean debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class DebugBean {
    }

    public static class AttachmentBean {
        @SerializedName("messageList")
        private List<MessageListBean> messageList;

        public List<MessageListBean> getMessageList() {
            return messageList;
        }

        public void setMessageList(List<MessageListBean> messageList) {
            this.messageList = messageList;
        }

        public static class MessageListBean {
            /**
             * id : 1
             * title : 测试标题
             * content : 测试内容
             * messageType : 消息类型
             * createTime : 时间
             */

            @SerializedName("id")
            private String id;
            @SerializedName("title")
            private String title;
            @SerializedName("content")
            private String content;
            @SerializedName("messageType")
            private String messageType;
            @SerializedName("createTime")
            private String createTime;
            @SerializedName("additional")
            private String additional;

            public String getAdditional() {
                return additional;
            }
            public void setAdditional(String additional) {
                this.additional = additional;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getMessageType() {
                return messageType;
            }

            public void setMessageType(String messageType) {
                this.messageType = messageType;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }
        }
    }
}
